Upgrading Tokio for 0.2.0, adding examples with actix and actix-web#11
Upgrading Tokio for 0.2.0, adding examples with actix and actix-web#11Rufflewind merged 2 commits intoRufflewind:masterfrom
Conversation
dangerousplay
commented
Jan 15, 2020
- Removing old examples.
- Removing old examples.
|
Thanks for the PR! It seems |
|
Yes, |
Could this issue be resolved upstream? |
|
In theory yes. However, given that the issue essentially asking for this is stalled, it's not clear whether they want to include it in the main crate: tokio-rs/tokio#2558 As an example from another language, Go runtime automatically detects that the file is non-blocking and uses the runtime poller: golang/go@ea5825b |
This updates the example output, tests/run, and the golden tests/*.txt. Also, the stdin_actix_web example will now automatically exit when the stdin future terminates to prevent the test from hanging.
8a0a38b to
f496b40
Compare
|
Thanks for the pull request! |
|
FWIW, tokio 0.3 has |